package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 视频数据对象 video_date
 *
 * @author ruoyi
 * @date 2024-10-29
 */
public class VideoDate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer xid;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Integer liulan;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Integer zanage;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Integer shouage;

    /** 分享数 */
    @Excel(name = "分享数")
    private Integer fenage;

    /** 下载数 */
    @Excel(name = "下载数")
    private Integer xiage;

    /** 评论数 */
    @Excel(name = "评论数")
    private Integer pingage;

    /** 序号 */
    private Integer fid;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private String ftype;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal price;

    /** 交易状态 */
    @Excel(name = "交易状态")
    private Integer status;

    /** 购买人 */
    @Excel(name = "购买人")
    private String ren;

    /** 手机号 */
    @Excel(name = "手机号")
    private String ipone;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 外键 */
    @Excel(name = "外键")
    private Integer lid;



    private Integer liveId;

    public VideoDate(Integer liveId) {
        this.liveId = liveId;
    }

    public Integer getLiveId() {
        return liveId;
    }

    public void setLiveId(Integer liveId) {
        this.liveId = liveId;
    }

    @Override
    public String toString() {
        return "VideoDate{" +
                "xid=" + xid +
                ", liulan=" + liulan +
                ", zanage=" + zanage +
                ", shouage=" + shouage +
                ", fenage=" + fenage +
                ", xiage=" + xiage +
                ", pingage=" + pingage +
                ", fid=" + fid +
                ", ftype='" + ftype + '\'' +
                ", price=" + price +
                ", status=" + status +
                ", ren='" + ren + '\'' +
                ", ipone='" + ipone + '\'' +
                ", time=" + time +
                ", lid=" + lid +
                ", liveId=" + liveId +
                '}';
    }

    public VideoDate() {
    }

    public VideoDate(Integer xid, Integer liulan, Integer zanage, Integer shouage, Integer fenage, Integer xiage, Integer pingage, Integer fid, String ftype, BigDecimal price, Integer status, String ren, String ipone, Date time, Integer lid) {
        this.xid = xid;
        this.liulan = liulan;
        this.zanage = zanage;
        this.shouage = shouage;
        this.fenage = fenage;
        this.xiage = xiage;
        this.pingage = pingage;
        this.fid = fid;
        this.ftype = ftype;
        this.price = price;
        this.status = status;
        this.ren = ren;
        this.ipone = ipone;
        this.time = time;
        this.lid = lid;
    }

    public Integer getXid() {
        return xid;
    }

    public void setXid(Integer xid) {
        this.xid = xid;
    }

    public Integer getLiulan() {
        return liulan;
    }

    public void setLiulan(Integer liulan) {
        this.liulan = liulan;
    }

    public Integer getZanage() {
        return zanage;
    }

    public void setZanage(Integer zanage) {
        this.zanage = zanage;
    }

    public Integer getShouage() {
        return shouage;
    }

    public void setShouage(Integer shouage) {
        this.shouage = shouage;
    }

    public Integer getFenage() {
        return fenage;
    }

    public void setFenage(Integer fenage) {
        this.fenage = fenage;
    }

    public Integer getXiage() {
        return xiage;
    }

    public void setXiage(Integer xiage) {
        this.xiage = xiage;
    }

    public Integer getPingage() {
        return pingage;
    }

    public void setPingage(Integer pingage) {
        this.pingage = pingage;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFtype() {
        return ftype;
    }

    public void setFtype(String ftype) {
        this.ftype = ftype;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRen() {
        return ren;
    }

    public void setRen(String ren) {
        this.ren = ren;
    }

    public String getIpone() {
        return ipone;
    }

    public void setIpone(String ipone) {
        this.ipone = ipone;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }
}
